package heima3_2.cn.osc.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import java.util.List;

import heima3_2.cn.osc.base.BaseHolder;
import heima3_2.cn.osc.base.MyBaseAdapter;
import heima3_2.cn.osc.hold.AttentionHolder;
import heima3_2.cn.osc.model.bean.findbean.FriendBean;

/**
 * Created by yaozhanlie on 2017/1/13.
 */

public class AttentionAdapter extends MyBaseAdapter<FriendBean> {


    public AttentionAdapter(Context context, List<FriendBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder<FriendBean> createViewHolder(Context context, ViewGroup parent, FriendBean bean, int position) {
        return new AttentionHolder(context,parent,this,position,bean);
    }
}
